package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工单SLA表
 * </p>
 *
 * @author WEN
 * @since 2024-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkSla对象", description="工单SLA表")
public class ZjWorkSla implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "sla名称")
    private String name;

    @ApiModelProperty(value = "生效时间类型：1-全天，2-时间范围")
    private Integer dateType;

    @ApiModelProperty(value = "生效开始时间，当date_type=2时生效")
    private Date startTime;

    @ApiModelProperty(value = "生效结束时间，当date_type=2时生效")
    private Date endTime;

    @ApiModelProperty(value = "提醒方式：1-系统消息，2-微信，3-短信，支持多选")
    private String remindMode;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "备注描述")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
